//表格内容
export interface DataType {
  key: React.Key;
  id: number;
  name: string;
  address: string;
  detailAds: string;
  people: string;
  tell: string;
  time: string;
  status: string;
  count: number | string;
  carCount: string | number;
  lon: string | number;
  lat: string | number;
  setLat: string | number;
  setLon: string | number;
}

//级联选择器
export interface Option {
  value: string | number;
  label: string;
  children?: Option[];
}

interface timeType {
  $D: number;
  $H: number;
  $L: number;
  $M: number;
  $W: number;
  $d: Date;
  $isDayjsObject: boolean;
  $m: number;
  $ms: number;
  $s: number;
  $u: undefined;
  $x: object;
  $y: number;
}

//添加/修改表单
export interface FormData {
  name: string;
  address: string[];
  people: string;
  tell: string;
  time: Array<timeType>;
  detailAds: string;
}

export interface storeData {
  address: string;
  name: string;
  key: React.Key;
  id: number;
  people: string;
  tell: string;
  time: string;
  status: string;
  lat: string;
  lon: string;
  setLon: string;
  setLat: string;
}

export interface addStaff {
  id?: number | string;
  kid: number[] | number | string;
  name: string;
  sid: number | string;
  tell: string | number;
  key?: number | string;
}
